<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Generator" content="Asbru Web Content Editor">
<meta http-equiv="Copyright" content="(C) 2002-2006 - Asbru Ltd. - www.asbrusoft.com">
<script type="text/javascript" src="webeditor.properties.js"></script>
<title>Asbru Web Content Editor</title>
<link rel="stylesheet" href="../dtree.css" type="text/css">
<script type="text/javascript" src="../dtree.js"></script>
<link rel="stylesheet" type="text/css" href="../hardcore.css"> 
<link rel="stylesheet" type="text/css" href="webeditor.css">
<script type="text/javascript">

document.title = HtmlDecode(Text('hyperlinklist_title'));

function requestParameter(name) {
	var value = "";
	if (start = request.indexOf("?"+name+"=")+1) {
		value = request.substring(start+name.length+1);
	} else if (start = request.indexOf("&"+name+"=")+1) {
		value = request.substring(start+name.length+1);
	}
	if (value.indexOf("&")+1) {
		value = value.substring(0, value.indexOf("&"));
	}
	value = unescape(value);
	return value;
}

var request = "" + window.location;
editor = requestParameter("editor");
request_title = requestParameter("title");
request_section = requestParameter("section");
request_category = requestParameter("category");

function openit(title, href) {
	if (href != "") {
		parent.tag["href"] = href;
		if (matches = href.match(/id=(\d+)\D*$/)) {
			id = matches[1];
		} else if (matches = href.match(/add=(\d+)\D*$/)) {
			id = matches[1];
		} else {
			id = '';
		}
<?php if (($upload_path <> "") && ($enable_upload == "yes")) { ?>
		if ((request_section == "Pages") || (request_section == "Images") || (request_section == "Files") || (request_section == "Links") || (request_section == "Products")) {
			if (document.getElementById) {
				if (document.getElementById('create_file')) document.getElementById('create_file').href = 'hyperlinkuploader.php?id='+id+'&action=Create&section=' + escape(request_section) + '&category=' + escape(request_category) + '&title=' + escape(title) + '&editor=' + editor;
			} else if (document.all) {
				if (document.all['create_file']) document.all['create_file'].href = 'hyperlinkuploader.php?id='+id+'&action=Create&section=' + escape(request_section) + '&category=' + escape(request_category) + '&title=' + escape(title) + '&editor=' + editor;
			}
		}
		if ((request_section == "Pages") || (request_section == "Images") || (request_section == "Files") || (request_section == "Links") || (request_section == "Products")) {
			if (document.getElementById) {
				if (document.getElementById('update_file')) document.getElementById('update_file').href = 'hyperlinkuploader.php?id='+id+'&action=Update&section=' + escape(request_section) + '&category=' + escape(request_category) + '&title=' + escape(title) + '&editor=' + editor;
			} else if (document.all) {
				if (document.all['update_file']) document.all['update_file'].href = 'hyperlinkuploader.php?id='+id+'&action=Update&section=' + escape(req